/*
 * @Author: daifen
 * @Date: 2020-10-28 15:50:35
 * @LastEditors: daifen
 */
var mongoose = require('../../mongodb'),
    Schema = mongoose.Schema;


var FileDataSchema = new Schema({
    type: { type: String },
    delFlag: { type: String },
    remark: { type: String },
    lineName: { type: String },
    voltageClass: { type: String },
    createTime: { type: String },
    imageData: { type: String }
}, { versionKey: false });

//第一个参数 在没有第三个参数的时候 会变成表名 并且全部转为小写 末尾加s
module.exports = mongoose.model('fileData', FileDataSchema, "fileInfoData");
